home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1994 August: Tool Chest / Dev.CD Aug 94.toast / Tool Chest / Developer Utilities / Installer 4.0GM SDK / Script Examples / Simple Atom Extender / Simple Atom Ext.r < prev    next >
Encoding:
Text File  |  1994-02-10  |  2.1 KB  |  136 lines  |  [TEXT/MPS ]

  1. #include "InstallerTypes.r"
  2.  
  3. include "DirectCopyExtender";
  4.  
  5.  
  6. /************************** Target File Spec. resources **********************************/
  7. resource 'intf' (10000) {
  8.     format0 {
  9.         noSearchForFile,
  10.         TypeCrMustMatch,
  11.         'APPL',
  12.         'ttxt',
  13.         0,
  14.         ":TeachText"
  15.     }
  16. };
  17.  
  18.  
  19. /************************** Source File Spec. resources **********************************/
  20. resource 'infs' (20000) {
  21.     'APPL',
  22.     'ttxt',
  23.     0x1,
  24.     noSearchForFile,
  25.     TypeCrMustMatch,
  26.     "Tidbits:Apple Utilities:TeachText"
  27. };
  28.  
  29.  
  30. /************************** File Atom resource **********************************/
  31. resource 'infa' (10000) {
  32.     format1 {
  33.         deleteWhenRemoving,
  34.         deleteWhenInstalling,
  35.         copy,
  36.         dontIgnoreLockedFile,
  37.         dontSetFileLocked,
  38.         useVersProcToCompare,
  39.         srcNeedExist,
  40.         rsrcForkInRsrcFork,
  41.         leaveAloneIfNewer,
  42.         updateExisting,
  43.         copyIfNewOrUpdate,
  44.         rsrcFork,
  45.         dataFork,
  46.         0,
  47.         0,
  48.         10000,
  49.         {    20000, 0, 0 },
  50.         0x0,
  51.         0,
  52.         129,
  53.         ""
  54.     }
  55. };
  56.  
  57.  
  58. /************************** Resource Atom resource **********************************/
  59. resource 'inra' (10000) {
  60.     format1 {
  61.         dontDeleteWhenRemoving,
  62.         deleteWhenInstalling,
  63.         copy,
  64.         leaveAloneIfNewer,
  65.         tgtRequired,
  66.         updateExisting,
  67.         copyIfNewOrUpdate,
  68.         ignoreProtection,
  69.         srcNeedExist,
  70.         byID,
  71.         nameNeedNotMatch,
  72.         0,
  73.         10000,
  74.         'ICON', 
  75.         128,
  76.         0,
  77.         "",
  78.         {    20000, 'ICON', 128, 0, "" },
  79.         0x0,
  80.         0,
  81.         129,
  82.         ""
  83.     }
  84. };
  85.  
  86. /************************** Atom Extender resource **********************************/
  87. resource 'inex' (129) {
  88.     format0 {
  89.         sendInitMessage,
  90.         sendBeforeMessage,
  91.         sendAfterMessage,
  92.         sendSuccessMessage,
  93.         sendCancelMessage,
  94.         continueBusyCursors,
  95.         'infn',
  96.         144,
  97.         0,
  98.         50000,
  99.         ""
  100.     }
  101. };
  102.  
  103.  
  104.  
  105. /************************** Package resources **********************************/
  106. resource 'inpk' (20037) {
  107.     format0 {
  108.         showsOnCustom,
  109.         notRemovable,
  110.         dontForceRestart,
  111.         0,
  112.         0,
  113.         "TeachText (using direct copy Atom Extender)",
  114.         {    
  115.             'infa', 10000,
  116.         }
  117.     }
  118. };
  119.  
  120.  
  121. resource 'inpk' (20038) {
  122.     format0 {
  123.         showsOnCustom,
  124.         notRemovable,
  125.         dontForceRestart,
  126.         0,
  127.         0,
  128.         "ICON ID#128 from TeachText (using direct copy Atom Extender)",
  129.         {    
  130.             'inra', 10000,
  131.         }
  132.     }
  133. };
  134.  
  135.  
  136.